import axios from "axios";


const service = axios.create({
    baseURL: 'http://localhost:3000',
    timeout: 3000,
    withCredentials: false,
})

//请求拦截器

service.interceptors.request.use(
    config =>{
        // if (!localStorage.getItem('needLog')){
        //     return 
        // }
        return config
    }
)
export default service;
